package com.qifenqian.turbot.module.entity.response.marketing

/**
 * @author H
 * @createTime 2019/1/23 09:38
 * @description 闲时折扣详情 上传/请求
 * @see
 * @since
 */
data class FreeTimeDiscountDetailEntity(
        var id: Int, // 1
        var periodOfLeisureTimeList: List<PeriodOfLeisureTime>,
        var priority: Int, // 2
        var restaurantId: Int // 100001
                                       ) {

    data class PeriodOfLeisureTime(
            var dateList: List<Date>,
            var timeList: List<Time>
                                  ) {

        data class Date(
                var discountDate: String // 2020-01-02
                       )

        data class Time(
                var startTime: String, // 08:00
                var endTime: String, // 09:30
                var discount: Double // 6
                       )
    }
}
